package com.ssy.lingxi.platform.template.service.constant;


import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * SEO类型 - enum
 *
 * @author fhj
 * @version 2.0.0
 * @date 2021/04/15
 */
public enum SeoTypeEnum {

    HOME_PAGE(1, "首页"),
    ABOUT_US(2, "关于我们"),
    INFORMATION_US(3, "行情资讯");

    private final Integer code;

    SeoTypeEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(), this.code);
    }
}
